package json.model;

/**
 * All rights Reserved, Designed By www.tusdao.com
 *
 * @version V1.0
 * @Title: Token.java
 * @Package json.model
 * @Description: TODO(用一句话描述该文件做什么)
 * @author: tusxxw
 * @date: 2020/8/28 5:06 下午
 * @Copyright: 2020 www.tbs.com Inc. All rights reserved.
 * <p>
 * 注意：本内容仅限于TBS项目组内部传阅，禁止外泄以及用于其他的商业目的
 */
public class Token {

    String toKen;

    String message;

    User user;

    public String getToKen() {
        return toKen;
    }

    public void setToKen(String toKen) {
        this.toKen = toKen;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }


    static class User {
        String message;

        String name;

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        @Override
        public String toString() {
            return "User{" +
                    "message='" + message + '\'' +
                    ", name='" + name + '\'' +
                    '}';
        }
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "Token{" +
                "toKen='" + toKen + '\'' +
                ", message='" + message + '\'' +
                ", user=" + user +
                '}';
    }
}
